﻿using HealthcareSystem.API.Read.DTO.KnowledgeShowDto;
using MediatR;
using WeekExam.PassPort.ErrorCode;

namespace HealthcareSystem.API.Read.Application.Command.KnowledgeCommand
{
    public class ShowKnowledgeCommand:IRequest<ApiResult<ApiPaging<List<KnowledgeDto>>>>
    {

        public int pageIndex { get; set; } = 1;
        public int pageSize { get; set; } = 5;
        /// <summary>
        /// 主题
        /// </summary>
        public string? Theme { get; set; }
        /// <summary>
        /// 病种
        /// </summary>
        public string? Entity { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool? KnowledgeStatus { get; set; }
    }
}
